from django.db import models


class SonarProfile(models.Model):
    Profile_Name = models.CharField(max_length=222)
    Freq_1 = models.PositiveSmallIntegerField()
    Freq_2 = models.PositiveSmallIntegerField()
    Freq_3 = models.PositiveSmallIntegerField()
    Freq_4 = models.PositiveSmallIntegerField()
    Freq_5 = models.PositiveSmallIntegerField()
    TPK = models.PositiveSmallIntegerField()
    Blades = models.PositiveSmallIntegerField()
    Active_freq = models.PositiveSmallIntegerField(blank=True, null=True)

    def __str__(self):
        return self.Profile_Name

    class Meta:
        ordering = ("Profile_Name",)
